home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
graphic
/
tpega.zip
/
GPRECT.P
< prev
next >
Wrap
Text File
|
1986-02-01
|
508b
|
17 lines
{ }
{ EGA Graphic Primitive for Turbo Pascal 3.01A, Version 01FEB86. }
{ (C) 1986 by Kent Cedola, 2015 Meadow Lake Ct., Norfolk, VA, 23518 }
{ }
procedure GPRECT(X2,Y2: Integer);
var
X1, Y1: Integer;
begin
X1 := GDCUR_X;
Y1 := GDCUR_Y;
GPLINE(X1,Y2);
GPLINE(X2,Y2);
GPLINE(X2,Y1);
GPLINE(X1,Y1);
end;